# from django.conf.urls import url
# from .views import AreasViews, SubAreasViews
from rest_framework.routers import DefaultRouter

from .views import AreasViewsSet

urlpatterns = [
    # url(r'^areas/$', AreasViews.as_view()),
    # url(r'^areas/(?P<pk>\d+)/$', SubAreasViews.as_view()),
]

router = DefaultRouter()
router.register(r'^areas', AreasViewsSet, base_name='areas')
urlpatterns += router.urls
